Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

fix: remove process flakes commit_sha arg#1199

Merged
joseph-sentry merged 1 commit intomainfrom
joseph/flake-args-1
Apr 2, 2025
Merged

fix: remove process flakes commit_sha arg#1199
joseph-sentry merged 1 commit intomainfrom
joseph/flake-args-1

Conversation

@joseph-sentry
Copy link
Copy Markdown
Contributor

this is the final step in moving the process flakes task to using the new method of fetching commit shas from redis. Since all TA finisher tasks are writing to redis using the new method, the process flakes task doesn't need to read the old method anymore, so we can remove that.

@joseph-sentry joseph-sentry requested a review from a team April 1, 2025 16:30
@seer-by-sentry
Copy link
Copy Markdown
Contributor

seer-by-sentry Bot commented Apr 1, 2025

✅ Sentry found no issues in your recent changes ✅

@codecov-notifications
Copy link
Copy Markdown

codecov-notifications Bot commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.70%. Comparing base (ad52223) to head (97dd9ec).
Report is 4 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1199   +/-   ##
=======================================
  Coverage   97.70%   97.70%           
=======================================
  Files         456      456           
  Lines       37053    37044    -9     
=======================================
- Hits        36201    36194    -7     
+ Misses        852      850    -2     
Flag Coverage Δ
integration 42.86% <22.22%> (+0.01%) ⬆️
unit 90.50% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment thread tasks/process_flakes.py Outdated
log.info(
"Received process flakes task",
extra=dict(repoid=repo_id, commit=commit_id),
extra=dict(repoid=repo_id),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you still want to log the possible commit_shas?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as the repo_id (along with name, and owner info) is part of the log context now, I don’t think we need to add this context explicitly at all.

Comment thread tasks/process_flakes.py Outdated
log.info(
"Received process flakes task",
extra=dict(repoid=repo_id, commit=commit_id),
extra=dict(repoid=repo_id),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as the repo_id (along with name, and owner info) is part of the log context now, I don’t think we need to add this context explicitly at all.

this is the final step in moving the process flakes task to using the
new method of fetching commit shas from redis. Since all TA finisher
tasks are writing to redis using the new method, the process flakes
task doesn't need to read the old method anymore, so we can remove
that.
@joseph-sentry joseph-sentry added this pull request to the merge queue Apr 2, 2025
Merged via the queue into main with commit 4732039 Apr 2, 2025
28 of 29 checks passed
@joseph-sentry joseph-sentry deleted the joseph/flake-args-1 branch April 2, 2025 15:16
@sentry
Copy link
Copy Markdown

sentry Bot commented Apr 6, 2025

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ OperationalError: server closed the connection unexpectedly app.tasks.flakes.ProcessFlakesTask View Issue
  • ‼️ OperationalError: connection to server at "10.27.209.217", port 5432 failed: Connection refused app.tasks.flakes.ProcessFlakesTask View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants